import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export type Params = {
  projectId: string;
  stereotype: string;
  defaultTableName: string;
  defaultOwnerId: string;
  stepKeys: string[];
  stepParams: string;
  disableStepKey?: string[];
};

export type CloseData = {
  success: boolean;
  result?: any;
};
export const CreateTableWizardWindow = new IpcWindow<Params, CloseData>(WindowName.CreateTableWizardWindow);
